﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/admin.master" AutoEventWireup="true"
    CodeFile="product-review-edit.aspx.cs" Inherits="admin_product_review_edit" %>

<%@ Register Namespace="ECommerce.Library.Web" TagPrefix="ucc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AdminHeaderContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMiddleContent" runat="Server">
    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <div class="admin-function-top inline">
        <ucc:ResponseMessage ID="uccResponseMessage" runat="server"></ucc:ResponseMessage>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableClientScript="true"
            DisplayMode="BulletList" ShowMessageBox="true" HeaderText="Please correct the following:"
            CssClass="adminValidator" />
        <label>
            Product:</label>
        <asp:TextBox ID="txtProductName" runat="server" ReadOnly="true" CssClass="text" />
        <br />
        <label>
            Customer Name:</label>
        <asp:TextBox ID="txtCustomerName" runat="server" CssClass="text" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCustomerName"
            ErrorMessage="Customer name is required" Display="dynamic" SetFocusOnError="true">
        </asp:RequiredFieldValidator>
        <br />
        <label>
            Customer Email:</label>
        <asp:TextBox ID="txtCustomerEmail" runat="server" CssClass="text" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtCustomerEmail"
            ErrorMessage="Customer email is required" Display="dynamic" SetFocusOnError="true">
        </asp:RequiredFieldValidator>
        <br />
        <label>
            Rating:</label>
        <ajaxToolkit:Rating ID="ReviewRating" runat="server" CurrentRating="0" MaxRating="5"
            StarCssClass="ratingStar" WaitingStarCssClass="savedRatingStar" FilledStarCssClass="filledRatingStar"
            EmptyStarCssClass="emptyRatingStar" EnableViewState="true" OnChanged="ReviewRating_Changed" />
        <br />
        <label>
            Comment:</label>
        <br />
        <asp:TextBox ID="txtComment" runat="server" CssClass="text" TextMode="MultiLine" />
        <br />
        <label>
            Approved:</label>
        <asp:CheckBox ID="chkApproved" runat="server" />
        <div class="btn-place-holder">
            <asp:Button ID="btnSave" runat="server" CssClass="button medium black" Text="Update" OnClick="btnSave_Click">
            </asp:Button>
        </div>
        <br class="clear" />
    </div>
    <br class="clear" />
</asp:Content>
